package com.ict.ms.trackPlayBack.service.api.impl;

import com.ict.ms.trackPlayBack.service.dao.IOriginalDao;
import org.springframework.stereotype.Service;
import com.ict.ms.trackPlayBack.facade.api.IOriginalService;
import javax.annotation.Resource;

/**
 * Created by chenlong on 2016/11/15.
 */
@Service("originalService")
public class OriginalService implements  IOriginalService{
    @Resource
    IOriginalDao iOriginalDao;

    public int getFuse_original(int original_mmsi,int original_source){
        try {
            return iOriginalDao.getFuse_original(original_mmsi, original_source);
        }catch (Exception e){
            System.out.println("数据操作失败"+e);
            return 0;
        }

    }
}
